﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ShiftsForm.ascx.cs"
    Inherits="SalesManagement.Controls.List.ShiftsForm" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<ext:Window ID="winDetails" runat="server" Title="Chi tiết tỉnh thành" Icon="PageForward"
    Width="300" Height="150" Modal="true" Hidden="true" Layout="FormLayout" Padding="5">
    <Items>
        <ext:FormPanel ID="FormPanel1" runat="server" BodyBorder="false" MonitorPoll="500"
            MonitorValid="true" Padding="5" Width="300" Height="150" ButtonAlign="Right">
            <Items>
                <ext:CompositeField ID="CompositeField1" runat="server" AnchorHorizontal="-20" MsgTarget="Side">
                    <Items>
                        <ext:Checkbox ID="ckkkk" runat="server" BoxLabel="Ca 1" />
                        <ext:DisplayField ID="DisplayField1" runat="server" Text="Từ:"/>
                        <ext:SpinnerField ID="SpinnerField1" runat="server"/>
                        <ext:DisplayField ID="DisplayField2" runat="server" Text="Đến:"/>
                        <ext:SpinnerField ID="SpinnerField2" runat="server"/>
                    </Items>
                </ext:CompositeField>
                 <ext:CompositeField ID="CompositeField2" runat="server" AnchorHorizontal="-20" MsgTarget="Side">
                    <Items>
                        <ext:Checkbox ID="Checkbox1" runat="server" BoxLabel="Ca 2" />
                        <ext:DisplayField ID="DisplayField3" runat="server" Text="Từ:"/>
                        <ext:SpinnerField ID="SpinnerField3" runat="server"/>
                        <ext:DisplayField ID="DisplayField4" runat="server" Text="Đến:"/>
                        <ext:SpinnerField ID="SpinnerField4" runat="server"/>
                    </Items>
                </ext:CompositeField>
                 <ext:CompositeField ID="CompositeField3" runat="server" AnchorHorizontal="-20" MsgTarget="Side">
                    <Items>
                        <ext:Checkbox ID="Checkbox2" runat="server" BoxLabel="Ca 3" />
                        <ext:DisplayField ID="DisplayField5" runat="server" Text="Từ:"/>
                        <ext:SpinnerField ID="SpinnerField5" runat="server"/>
                        <ext:DisplayField ID="DisplayField6" runat="server" Text="Đến:"/>
                        <ext:SpinnerField ID="SpinnerField6" runat="server"/>
                    </Items>
                </ext:CompositeField>
            </Items>
        </ext:FormPanel>
    </Items>
    <Buttons>
        <ext:Button ID="btnSave" runat="server" Text="Save" Icon="Disk">
            <DirectEvents>
                <Click OnEvent="btnSave_Click" />
            </DirectEvents>
        </ext:Button>
        <ext:Button ID="btnCancel" runat="server" Text="Cancel" Icon="Cancel">
            <Listeners>
                <Click Handler="#{winDetails}.hide();" />
            </Listeners>
        </ext:Button>
    </Buttons>
</ext:Window>
